import request from '@/utils/request'
export function fetchListAll() {
  return request({
    url:'/level/listall',
    method:'get',
  })
}
export function update(params) {
  return request({
    url:'/level/update',
    method:'post',
    params:params
  })
}
export function add(params) {
  return request({
    url:'/level/add',
    method:'post',
    params:params
  })
}
export function deletes(params) {
  return request({
    url:'/level/delete',
    method:'delete',
    params:params
  })
}